<?php

class Nuo_View_Helper_AdminToolbar extends Zend_View_Helper_Abstract
{

	protected $_toolbarName = null;

	public function adminToolbar($toolbar = null)
	{
		if (null == $toolbar)
		{

		}
		$this -> _toolbarName = (string)$toolbar;

		return $this;
	}

	public function __toString()
	{
		return '<div class="uiMainToolbar">' . $this -> view -> toolbar(array(), $this -> _toolbarName) . '<div style="clear:both"></div>' . '</div>';
	}

}
